<template>
	<view class='content'>
		<uni-nav-bar
		left-icon="back" 
		status-bar=true
		fixed=true
		color="#FFF"
		left-text="返回" 
		right-text="" 
		:title="maintitle"
		:background-color="bgcolor"
		@clickLeft="toback"
		></uni-nav-bar>
		<web-view :src="src"></web-view>
	</view>
	
</template>

<script>
	export default {
		data(){
			return{
				maintitle:"",
				bgcolor:"#409ED7",
				id:'',
				typeid:'',
				content:'',
				src:''
			}
		},
		onLoad(option) {
			var src = uni.getStorageSync("webviewurl");
			this.src = src
		},
		methods:{ 
			toback:function(){
				uni.navigateBack({
					delta: 1,
					animationType: 'pop-out',
					animationDuration: 200
				});
			},	
		}
	}
</script>

<style>
</style>
